<?php /* Smarty version Smarty-3.0.7, created on 2011-08-13 14:29:06
         compiled from "./view/clans.tpl" */ ?>
<?php /*%%SmartyHeaderCode:148034e466e1219a9b7-66326357%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '69778204359aef264d03b0c84eda419e99a444c9' => 
    array (
      0 => './view/clans.tpl',
      1 => 1313236826,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '148034e466e1219a9b7-66326357',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!isset($_smarty_tpl->getVariable('bodyaction',null,true,false)->value)){?> 
 <div class='nag'><span>Lista klanów</span></div>
 
 <?php if (isset($_smarty_tpl->getVariable('rows',null,true,false)->value)){?>
 	<table style='margin: 20px;'>
 		<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
    		<tr>
            	<td width='250px'><?php echo $_smarty_tpl->tpl_vars['row']->value['user_team_name'];?>
</td>
                <td width='250px'><?php echo $_smarty_tpl->tpl_vars['row']->value['user_team_game'];?>
</td>
                <td width='100px'><?php echo $_smarty_tpl->tpl_vars['row']->value['user_team_status'];?>
</td>
                <td><a href='<?php echo $_smarty_tpl->getVariable('page')->value;?>
/clans/clan_info/<?php echo $_smarty_tpl->tpl_vars['row']->value['user_id'];?>
'>Więcej</a></td>            
            </tr>
    	<?php }} ?> 
    </table>
 <?php }?>
 
 
 <?php if (isset($_smarty_tpl->getVariable('message',null,true,false)->value)){?>
     <?php echo $_smarty_tpl->getVariable('message')->value;?>

 <?php }?>
 
<?php }else{ ?> 	
	<?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('bodyaction')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php }?>